-- GENERATED SPELL FOR [Blue Drakonid Supplicant] --


function spell0_25713(pUnit, Event) --@Power Sap,n/a--
pUnit:FullCastSpellOnTarget(50534,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25713', 5000, 1)
end

function Sorts_25713(pUnit, Event)
local choix_sorts_25713 = math.random(0, 0)
if choix_sorts_25713 == 0 then
pUnit:RegisterEvent('spell0_25713', 1, 1)
end
end

function mob25713_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25713', math.random(1500, 3000), 1)
end

function mob25713_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25713_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25713_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25713, 1, 'mob25713_Action')
RegisterUnitEvent(25713, 2, 'mob25713_Leave')
RegisterUnitEvent(25713, 3, 'mob25713_Kill')
RegisterUnitEvent(25713, 4, 'mob25713_Die')
